import remove from '@dfeidao/atom-web/local/remove';
import render from '@dfeidao/atom-web/render/render';
import { IFeidaoAiBrowserComponent } from '@dfeidao/web/interfaces';

export default async function a001(fd: IFeidaoAiBrowserComponent) {
	//  调用事件
	fd.data.node.querySelector<HTMLDivElement>('[id="zj11"]').classList.add('display-n');
	render(fd, '', '', 'P01', 'inner');
	render(fd, '', '', 'P02', 'inner');
	render(fd, '', '', 'P03', 'inner');
	render(fd, '', '', 'P04', 'inner');
	render(fd, '', '', 'P05', 'inner');
	render(fd, '', '', 'P06', 'inner');
	fd.data.node.querySelector<HTMLInputElement>('#search_val').value = '';
	remove(fd, 'role');
	remove(fd, 'role_allot_id');
	remove(fd, 'allot_group');
	remove(fd, 'ff');
	remove(fd, 'pk_val');
}
